package com.cmxh.shipper.mapper;

import com.cmxh.shipper.pojo.DriverUser;

import java.util.List;

/**
* @author 32614
* @description 针对表【driver_user】的数据库操作Mapper
* @createDate 2025-04-17 15:20:26
* @Entity com.cmxh.shipper.pojo.DriverUser
*/
public interface DriverUserMapper {

    int deleteByPrimaryKey(Long id);

    int insert(DriverUser record);

    int insertSelective(DriverUser record);

    DriverUser selectByPrimaryKey(String phone);

    int updateByPrimaryKeySelective(DriverUser record);

    int updateByPrimaryKey(DriverUser record);

    //登录
    DriverUser logins(DriverUser driverUser);

    //新增或修改密码
    int updatePassword(DriverUser driverUser);


}
